import { lazy } from "react";

const ly=[
    {path:"/",to:"/home"},
    {path:"/home",component:lazy(()=>import('../page/home')),
    children:[
        {path:"/home",to:"/home/home"},
        {path:"/home/home",component:lazy(()=>import('../page/index/home')),title:"首页"},
        {path:"/home/fl",component:lazy(()=>import('../page/index/fl')),title:"分类"},
        {path:"/home/gwc",component:lazy(()=>import('../page/index/gwc')),title:"购物车"},
        {path:"/home/my",component:lazy(()=>import('../page/index/my')),title:"我的"},
    ]}
]

export default ly
